package com.itheima.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.Orders;
import com.itheima.dto.OrdersDto;

import java.util.Date;

public interface OrderService {
    IPage<OrdersDto> findPage(int page, int pageSize, Long number, Date beginTime,Date endTime);

    /**
     * 用户端下单
     * @param orders
     * @return
     */
    int submit(Orders orders);
}
